#! /bin/bash


# Remove the old plugin. ///////////////////////////////////////////////
rm -rf '/Library/Application Support/Steinberg/components/mr_extension.bundle'
rm -rf '/Library/Application Support/Steinberg/Components/mr_extension.bundle'
rm -rf '/Library/Application Support/Steinberg/components/mr_extension_u.bundle'
rm -rf '/Library/Application Support/Steinberg/Components/mr_extension_u.bundle'

# Remove the old vst3. /////////////////////////////////////////////////
VST3Dir='/Library/Audio/Plug-Ins/VST3/Yamaha'
rm -rf "${VST3Dir}/ChannelStrip_m.vst3"
rm -rf "${VST3Dir}/ChannelStrip_s.vst3"
rm -rf "${VST3Dir}/RevHall.vst3"
rm -rf "${VST3Dir}/RevHallMix.vst3"
rm -rf "${VST3Dir}/RevPlate.vst3"
rm -rf "${VST3Dir}/RevPlateMix.vst3"
rm -rf "${VST3Dir}/RevRoom.vst3"
rm -rf "${VST3Dir}/RevRoomMix.vst3"

exit 0